﻿Imports System.Xml.Serialization

<Serializable()> _
Public Class clsLibraryEntry

    Private c_Name As String
    Private c_Level As Byte
    Private c_UID As Guid
    Private c_ParentUID As Guid
    Private c_Sort As Byte
    Private c_detail As Object
    Private c_Expanded As Boolean
    Private c_IsBreadcrumb As Boolean


    Public Property Name() As String
        Get
            Return c_Name
        End Get
        Set(ByVal value As String)
            c_Name = value
        End Set
    End Property
    Public Property Level() As Byte
        Get
            Return c_Level
        End Get
        Set(ByVal value As Byte)
            c_Level = value
        End Set
    End Property
    Public Property UID() As Guid
        Get
            Return c_UID
        End Get
        Set(ByVal value As Guid)
            c_UID = value
        End Set
    End Property
    Public Property ParentUID() As Guid
        Get
            Return c_ParentUID
        End Get
        Set(ByVal value As Guid)
            c_ParentUID = value
        End Set
    End Property
    Public Property Sort() As Byte
        Get
            Return c_Sort
        End Get
        Set(ByVal value As Byte)
            c_Sort = value
        End Set
    End Property

    Public Property Detail() As Object
        Get
            Return c_detail
        End Get
        Set(ByVal value As Object)
            c_detail = value
        End Set
    End Property
    
    Public Property Expanded() As Boolean
        Get
            Return c_Expanded
        End Get
        Set(ByVal value As Boolean)
            c_Expanded = value
        End Set
    End Property


    Public Property IsBreadcrumb() As Boolean
        Get
            Return c_IsBreadcrumb
        End Get
        Set(ByVal value As Boolean)
            c_IsBreadcrumb = value
        End Set
    End Property

End Class
